<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/bootstrap.min.css" rel="stylesheet" >
<script type="text/javascript" src ="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src ="js/bootstrap.min.js"></script>
<title>我参与回复帖子</title>
</head>
<body>
		  <table  class="table">
			<tr>
				<td style="font-size: 16px">标题</td>
				<td style="font-size: 16px">内容</td>
				<td style="font-size: 16px">时间</td>
				
			</tr>
			<c:forEach items="${tlist}" var="tlist" varStatus="forEachlist">
				<c:if test="${forEachlis.index%2==0}">
					<tr class="info">
						<td><a href="getTopicDetail?tid=${tlist.id}">${tlist.title}</a></td>
						<td>${tlist.content}</td>
						<td>${tlist.createTime}</td>
						
					</tr>	
				</c:if>
				<c:if test="${forEachlis.index%2!=0}">
					<tr >
						<td><a href="getTopicDetail?tid=${tlist.id}">${tlist.title}</a></td>
						<td>${tlist.user.loginName}</td>
						<td>${tlist.createTime}</td>
						
					</tr>	
				</c:if>
			</c:forEach>
	</table> 
</body>
</html>